package com.aiti.lulian.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("card_customer_contacts")
public class CustomerContacts {

    @TableId(value = "base_id", type = IdType.ASSIGN_UUID)
    private String baseId;

    /**
     * 联系人姓名
     */
    @TableField("contacts_name")
    private String contactsName;

    /**
     * 联系人手机
     */
    @TableField("contacts_phone")
    private String contactsPhone;


    private String deptId;

    private String deptName;

    //职务
    private String position;
    //电话
    private String telephone;

    private String remark;

    private String directorId;

    private String directorName;

    private String enterpriseId;

    /**
     * 创建者
     */
    @TableField("creator")
    private String creator;

    /**
     * 创建时间
     */
    @TableField(value = "base_create_time", fill = FieldFill.INSERT)
    private Date baseCreateTime;

    /**
     * 更新者
     */
    @TableField("update_by")
    private String updateBy;

    /**
     * 创建时间
     */
    @TableField(value = "base_update_time", fill = FieldFill.UPDATE)
    private Date baseUpdateTime;

    private Integer isDelete;

    @TableField("logo")
    private String logo;

    @TableField("customer_id")
    private String customerId;
}